package com.jiayang.base.sensor;

import com.jiayang.business.equipmentinfopage.domain.dto.InfraredShortInfoDTO;
import com.jiayang.business.equipmentinfopage.domain.dto.OilShortInfoDTO;
import com.jiayang.business.equipmentinfopage.domain.dto.SensorLocationDTO;
import com.jiayang.business.equipmentinfopage.domain.dto.ShakeShortInfoDTO;
import com.jiayang.base.sensor.domain.entity.StaSensor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiayang.business.stationpage.domain.dto.SensorNumTypeDTO;

import java.util.List;

/**
 * <p>
 * 传感器表 Mapper 接口
 * </p>
 *
 * @author OuyangChenglong
 * @since 2021-09-22
 */
public interface StaSensorMapper extends BaseMapper<StaSensor> {

    List<StaSensor> getAllSensorByUserId(Long uid);

    List<StaSensor> getSensorByStationId(String sid);

    SensorNumTypeDTO getSensorNumberTypeByEquipmentId(String equipmentEntityId);

    List<SensorLocationDTO> getXYById(String id);

    List<ShakeShortInfoDTO> getShakeShortInfo(String id);

    InfraredShortInfoDTO getInfraredShortInfo(String id);

    OilShortInfoDTO getOilShortInfo(String id);
}
